import request from '@/utils/request'

// 获取文章列表
export const getArticleList = (data) => {
  return request({
    url: '/articleList',
    params: data
  })
}

// 获取文章详情
export const getArticleDetail = (data) => {
  return request({
    url: '/article',
    params: data.id
  })
}
